<template>
  <div>
    <div class="row">
      <TopHeader></TopHeader>
    </div>
    <div class="row">
      <div class="col-xs-1 col-xs-offset-2">
        <div class="list-group">
          <router-link class="list-group-item" active-class="active" to="/basic">布局组件</router-link>
          <router-link class="list-group-item" active-class="active" to="/form">表单组件</router-link>
          <router-link class="list-group-item" active-class="active" to="/data">数据组件</router-link>
          <router-link class="list-group-item" active-class="active" to="/notice">通知组件</router-link>
          <router-link class="list-group-item" active-class="active" to="/nav">导航组件</router-link>
          <router-link class="list-group-item" active-class="active" to="/other">其他组件</router-link>
        </div>
      </div>
      <div class="col-xs-8">
        <div class="panel">
          <div class="panel-body">
            <keep-alive>
              <router-view></router-view>
            </keep-alive>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import TopHeader from "@/components/TopHeader";
export default {
  name: "App",
  components: {TopHeader},
  comments:{
    TopHeader:TopHeader
  }
}
</script>

<style scoped>
</style>